<%form_remote_for :role,:url=>{:action=>'update'} do |f|%>
<span class="float_right admin" id="edit_item_action_<%=@role.id%>">
<%=submit_tag "save".t,
:onclick=>"Element.show('indicator_#{@role.id}');Element.hide('edit_item_action_#{@role.id}')
",
:id=>"submit_tag",:style=>'width:40px'
%>
or 
<a href="#" onclick="new Ajax.Request('/permission/cancel_edit/?id=<%=@role.id%>',{asynchronous:true,evalScripts:true});Element.hide('edit_item_action_<%=@role.id%>');Element.show('indicator_<%=@role.id%>');">
<%="Cancel".t%></a>
</span>
<span class=float_right><%=indicator(@role.id)%></span>
<%=f.text_field "identifier",:size=>"16",:value=>@role.identifier%>
<%=f.hidden_field "id",:value=>@role.id%>
<%end%>
